package com.han.singleton.demo5;

/**
 * @ClassName Client
 * @Description 测试类
 * @Author duoduo Han
 * @Date 2024/6/3 13:43
 */
public class Client {
    public static void main(String[] args) {
        Singleton instance = Singleton.getInstance();
        Singleton instance1 = Singleton.getInstance();
        System.out.println(instance == instance1);
    }
}
